package utils.db.api;

import pojo.EDeviceState;
import pojo.EDeviceType;

public interface IEditDevice {
	public void changeStatus(Integer id, EDeviceState state);

	public void changeDescription(Integer id, String desc);

	public void changeType(Integer id, EDeviceType type);

	public void changeClientId(Integer id, Integer clientId);

	public void changeServicemanId(Integer id, Integer servicemanId);

	public void deleteDevice(int id);

	public void deleteDeviceByClientID(Integer id);

	public void complexUpdateDevice(Integer id, Integer clientId,
			Integer servicemanId, EDeviceType type, String desc);

	// String CHANGE_STATUS = "update device set state=? where id=?";
	String DELETE_DEVICE = "delete from devices where id=?";
	String DELETE_DEVICE_BY_CLIENT_ID = "delete from devices where client_id = ?";
	// private Integer id;
	// private String description;
	// private EDeviceType type;
	// private EDeviceState state;
	// private Date date;
	// private int clientId;
	// private int servicemanId;

}
